﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SClientActive extends Object
    {
        public var id:int;
        public var type:int;
        public var name:String;
        public var startDt:Date;
        public var endDt:Date;
        public var noticeDt:Date;
        public var status:Boolean;

        public function SClientActive()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.id);
            param1.writeInt(this.type);
            param1.writeString(this.name);
            param1.writeDate(this.startDt);
            param1.writeDate(this.endDt);
            param1.writeDate(this.noticeDt);
            param1.writeBool(this.status);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.id = param1.readInt();
            this.type = param1.readInt();
            this.name = param1.readString();
            this.startDt = param1.readDate();
            this.endDt = param1.readDate();
            this.noticeDt = param1.readDate();
            this.status = param1.readBool();
            return;
        }// end function

    }
}
